﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace QuanLy_Truong_THPT
{
    public partial class frm_QuanLyHS : Form
    {
        public frm_QuanLyHS()
        {
            InitializeComponent();
        }

        private void btnXemHS_Click(object sender, EventArgs e)
        {
            frmQLHS_HS Hoso = new frmQLHS_HS();
            Hoso.ShowDialog();
        }

        private void btnNhapDiem_Click(object sender, EventArgs e)
        {
            frmQLDiem NhapDiem = new frmQLDiem();
            NhapDiem.ShowDialog();
        }

        private void btnXemDiem_Click(object sender, EventArgs e)
        {
            frmXemDiemTB XemDiem = new frmXemDiemTB();
            XemDiem.ShowDialog();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            frmQLGiaoVien GiaoVien = new frmQLGiaoVien();
            GiaoVien.ShowDialog();
        }


        private void quảnLýHọcSinhToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmQLHS_HS qlhs = new frmQLHS_HS();
            qlhs.ShowDialog();
        }

        private void quảnLýGiáoViênToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmQLGiaoVien qlgv = new frmQLGiaoVien();
            qlgv.ShowDialog();
        }
        private void quảnLýThờiKhóaBiểuToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmQLThoiKhoaBieu qltkb = new frmQLThoiKhoaBieu();
            qltkb.ShowDialog();
        }

        private void xemDiemTBToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmXemDiemTB diemtb = new frmXemDiemTB();
            diemtb.ShowDialog();
        }

        private void xemTKBToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmXemThoiKhoaBieu tkb = new frmXemThoiKhoaBieu();
            tkb.ShowDialog();
        }

        private void xemGiaoVienToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmXemGiaoVien giaovien = new frmXemGiaoVien();
            giaovien.ShowDialog();
        }

        private void xemHSHocSinhToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmXemHS hs = new frmXemHS();
            hs.ShowDialog();
        }

        private void xemLichGDToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmXemLichGiangDay lichgiangday = new frmXemLichGiangDay();
            lichgiangday.ShowDialog();
        }

        private void QLLichGDToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmQLGiangDay qllichgd = new frmQLGiangDay();
            qllichgd.ShowDialog();
        }

        private void xemLopToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmXemLop xemlop = new frmXemLop();
            xemlop.ShowDialog();
        }

        private void QLDiemToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmQLDiem qldiem = new frmQLDiem();
            qldiem.ShowDialog();
        }

        private void QLLopToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmQLLop QLLop = new frmQLLop();
            QLLop.ShowDialog();
        }

        private void QLMonHocToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmQLMonHoc QLMH = new frmQLMonHoc();
            QLMH.ShowDialog();
        }

        private void xemMônHọcToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmXemMonHoc XemMH = new frmXemMonHoc();
            XemMH.ShowDialog();
        }

        private void xemChuyenMonToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmXemChuyenMon xemCM = new frmXemChuyenMon();
            xemCM.ShowDialog();
        }

        private void QLChuyenMonToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmQLChuyenMon QLCM = new frmQLChuyenMon();
            QLCM.ShowDialog();
        }

        private void xemHTKTToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmXemHinhThucKT xemhtkt = new frmXemHinhThucKT();
            xemhtkt.ShowDialog();
        }

        private void QLHTKTToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmQLHinhThucKT QLHTKT = new frmQLHinhThucKT();
            QLHTKT.ShowDialog();
        }

        private void QLHKToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmQLHocKy qlhk = new frmQLHocKy();
            qlhk.ShowDialog();
        }

        private void XemHKToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmXemHocKy XemHK = new frmXemHocKy();
            XemHK.ShowDialog();
        }

        private void frm_QuanLyHS_Load(object sender, EventArgs e)
        {

        }

        private void DangNhapToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmDangNhap DangNhap = new frmDangNhap();
            DangNhap.ShowDialog();
        }

        private void ThoatToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DialogResult traloi;
            traloi = MessageBox.Show("Bạn có chắc không?", "Thông Báo", MessageBoxButtons.OKCancel, MessageBoxIcon.Question);
            if (traloi == DialogResult.OK)
            {
                Application.Exit();

            }
        }
    }
}
